import Vue from 'vue'
import moment from 'moment'

Vue.filter('time', (input, type) => {
    return moment(input * 1000).format(type)
})